package com.pro.staffmanage.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;
import java.time.ZoneId;
import java.util.Date;


/**
 * @Author: Haotian Cui
 * @Date: 2022/7/22 - 07 - 22 - 15:30
 * @Description: com.pro.staffmanage.pojo
 * @Project: staffmanage
 * @version: 1.0
 *
 *      * POJO -- Employee
 *      *
 *      * id -- Integer -- Job number
 *      * Primary key, to determine employee identity
 *      *
 *      * lastname -- String
 *      *
 *      * email -- String
 *      *
 *      * gender -- Integer
 *      * 0:female , 1:male
 *      *
 *      * department -- Department(POJO)
 *      *
 *      * birth -- java.util.Date
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee {

    private Integer id;
    private String name;
    private String email;
    private Integer gender;
    private Integer departmentId;
    private Date birth;

}
